package com.autumn.annotations.ioclife.config;

import com.autumn.annotations.ioclife.beanimpl.Cat;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * ClassName: BeanImplDemoConfig
 *
 * @Description:
 * @Author: wangqiuyang
 * @Date: 2022/1/25 2:41 下午
 * History:
 * <author>          <time>          <version>          <desc>
 * wangqiuyang    2022/1/25 2:41 下午   @Version 1.0        描述
 */
@Configuration
public class BeanImplDemoConfig {

    @Bean(name = "cat")
    public Cat cat() {
        return new Cat();
    }
}
